home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / www / src / midaswww-1.0 / SGMLCompositeText.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-16  |  1.7 KB  |  62 lines

  1. /*==================================================================*/
  2. /*                                                                  */
  3. /* SGMLCompositeTextObject                                          */
  4. /*                                                                  */
  5. /* T.Johnson - (TonyJ@Slacvx.Slac.Stanford.Edu)           June.92   */
  6. /*                                                                  */
  7. /* Defines a composite  text segment for the SGMLText widget         */
  8. /*                                                                  */
  9. /*==================================================================*/
  10.  
  11. #ifndef  SGMLCOMPOSITETEXT_H
  12. #define  SGMLCOMPOSITETEXT_H
  13. #include "SGMLText.h"
  14.  
  15. #define SGMLNtagList         "tagList"
  16. #define SGMLCTagList         "TagList"
  17. #define SGMLRTagList         "TagList"
  18. #define SGMLNdefaultClass    "defaultClass"
  19. #define SGMLCClass           "Class"
  20. #define SGMLRClass           "Class"
  21.  
  22. #define SGMLINHERIT_CLASS NULL 
  23.  
  24. extern WidgetClass sGMLCompositeTextObjectClass;
  25. typedef struct _SGMLCompositeTextRec  *SGMLCompositeTextObject;
  26.  
  27. typedef struct _TagList {
  28.  
  29.       XrmName     name; 
  30.       WidgetClass class;
  31.  
  32. } SGMLTagList;
  33.  
  34. #ifdef _NO_PROTO
  35.  
  36. extern void    SGMLCompositeTextInsertChild();
  37. extern Widget  CreateSGMLCompositeText();
  38.  
  39. #else
  40.  
  41. #if defined(__cplusplus) || defined(c_plusplus)
  42. extern "C" {
  43. #endif
  44.  
  45.     extern Widget SGMLCreateCompositeText(Widget parent,
  46.         char *name,
  47.         ArgList al,
  48.         int ac);
  49.  
  50.     extern void SGMLCompositeTextInsertChild(Widget parent, Widget child);
  51.     
  52. #if defined(__cplusplus) || defined(c_plusplus)
  53. }
  54. #endif
  55.  
  56. #endif /* _NO_PROTO */
  57.  
  58. #define SGMLIsCompositeText(w)     XtIsSubclass(w,sGMLCompositeTextObjectClass)
  59.  
  60. #endif SGMLCOMPOSITETEXT_H
  61.  
  62.